import java.util.Date;
import java.util.Calendar;
import java.util.GregorianCalendar;

public class BirthDate {
	
	private Date birthDate;
	
	public BirthDate ()
	{
		setBirthDate(0, 0, 0);		
	}
		
	public BirthDate (int year, int month, int day)
	{
		
		setBirthDate(year, month, day);		
	}	
	
	private void setBirthDate(int y, int m, int d)
	{
		Calendar c = new GregorianCalendar();
		c.set(y, m, d);
		this.birthDate = c.getTime(); 
	}
	
	public Date getBirthDate()
	{
		return this.birthDate;
	}
	
	
}

